package cn.tedu.egbank.account.pojo.entity;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class Account {
    private Integer id;
    private Integer customerId;
    private String accountNumber;
    private AccountType type;
    private BigDecimal balance;
    private Date createdAt;

    public enum AccountType {
        SAVING, CHECKING
    }
}









